<?php defined( '_VALID_MOS' ) or die( 'Restricted access' );?>
<form action="index2.php" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
<TABLE class="adminform">
<TR>
  <TH colspan="2">Edit User Subscription</TH>
</TR>

<TR>
  <TD width="100">User:</TD>
  <TD><INPUT type="text" value="[<?php echo $row->uid ?>] <?php echo $row->uname ?>" class="text_area" size="50"  readonly="readonly" disabled="disabled" />  </TD>
</TR>

<TR>
  <TD width="100">Subscription:</TD>
  <TD><INPUT type="text" value="[<?php echo $row->sid ?>] <?php echo $row->sname ?>" class="text_area" size="50" readonly="readonly" disabled="disabled" />  </TD>
</TR>
<TR>
  <TD>Published</TD>
  <TD><INPUT type="checkbox" name="publish" value="1" <?php if($row->published) echo ' checked="checked"'?> /></TD>
</TR>
<TR>
  <TD>Access Limit</TD>
  <TD><INPUT type="text" value="<?php echo $row->access_limit ?>" class="text_area" size="50" name="access_limit"/>  </TD>
</TR>
<TR>
  <TD>Start Date:</TD>
  <TD>
    <input class="text_area" type="text" name="ctime" id="created" size="25" maxlength="19" value="<?php echo $row->ctime; ?>" />
		<input name="reset" type="reset" class="button" onclick="return showCalendar('created', 'y-mm-dd');" value="..." />
	</TD>
</TR>
<TR>
  <TD>Expire Date:</TD>
  <TD>
    <input class="text_area" type="text" name="extime" id="xcreated" size="25" maxlength="19" value="<?php echo $row->extime; ?>" />
		<input name="reset" type="reset" class="button" onclick="return showCalendar('xcreated', 'y-mm-dd');" value="..." />
	</TD>
</TR>

</table>
<INPUT type="hidden" name="id" value="<?php echo $row->id;?>">
<input type="hidden" name="option" value="com_jcs" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="gateway" value="<?php echo ($row->gateway ? $row->gateway : '.manual' );?>" />
<input type="hidden" name="gateway_id" value="<?php echo ($row->gateway_id ? $row->gateway_id : time() );?>" />
<input type="hidden" name="hidemainmenu" value="0" />
</form>

